package Thread;
class Point{

}
class PointFactory{
    public static Point makePointByXy(double x,double y){
        Point point = new Point();
        return point;
    }
    public static Point makePointByAr(double r,double a){
        Point point = new Point();
        return point;
    }
}
public class Demo30 {
    public static void main(String[] args) {
        Point point = PointFactory.makePointByAr(30,60);
    }
}
